package com.nuc.wxh.vaccine_appointment.vaccines.entity.vo;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

@Data
public class RegisterVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "昵称不能为空")
    private String username;
    private String mobile;
    @Email(message = "邮箱格式不对")
    private String email;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "验证码不能为空")
    private String code;
}
